export const rules = {
  areaTitle: [
    { required: true, message: "请输入领域标题", trigger: "change" },
    { min: 1, max: 100, message: "长度在 1 到 100 个字符", trigger: "blur" },
  ],
  areaContent: [
    { required: true, message: "请输入领域描述", trigger: "change" },
    { min: 1, max: 100, message: "长度在 1 到 100 个字符", trigger: "blur" },
  ],
  files: [{ required: true, message: "请选择缩略图", trigger: "blur" }],
  sort: [{ required: true, message: "输入排序字段", trigger: "change" }],
};
